Problem Statement

Consider the table shown in Figure 1 and Code Listing 1. Try to develop a solution of the following problem:

Write code using C/C++ which performs following tasks:

  1. Prompt the user to enter number of columns?
  2. Prompt the user to enter number of rows?
  3. Get data cell by cell from user using a loop?
  4. Generate an html page to display above data in a table?
  5. Store the page in a folder on desktop.

HTML Table

Company Contact Country
Alfreds Futterkiste Maria Anders Germany
Centro comercial Moctezuma Francisco Chang Mexico
Ernst Handel Roland Mendel Austria
Island Trading Helen Bennett UK
Laughing Bacchus Winecellars Yoshi Tannamuri Canada
Magazzini Alimentari Riuniti Giovanni Rovelli Italy
Web hosting by Somee.com